project(arena_srv VERSION 1.1.1 LANGUAGES CXX)

file(GLOB ARENA_SRV_SRC ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
file(GLOB ARENA_PROTO_SRC ${CMAKE_CURRENT_SOURCE_DIR}/proto/*.pb.cc)

add_executable(arena_srv ${ARENA_SRV_SRC} ${ARENA_PROTO_SRC})

target_include_directories (arena_srv PUBLIC ${RPOJECT_ROOT})

target_compile_options(arena_srv PUBLIC -std=c++11 -g -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers)
target_link_libraries(arena_srv peony protobuf)